﻿using Microsoft.AspNetCore.Mvc;
using static WebApplication1.Controllers.WeatherForecastController;

namespace WebApplication1.Controllers
{
    [ApiController]
    [Route("[controller]")]
    public class HomeController : ControllerBase
    {
        [HttpPost(Name = "GetMd5Str")]
        public object GetMd5Str(GetMd5StrDto str)
        {
            str.bizContent = "{\"CientID\":\"02\"}5ae9499e8776723193ec860000927e8";
            var headDigest = ZtSign(str.bizContent);
            return new { headDigest };
        }
    }
}
